<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>博客热门排行</title>
</head>
<body>
<div><span th:text="${username}">XXX</span>&nbsp;先生/女士,您好：</div>
<P style="text-indent: 2em">博客热门排行<span></span></P>
<!-- 阅读排行榜 -->
<div class="am-u-md-4 am-u-sm-12 blog-sidebar">
    <div class="blog-sidebar-widget blog-bor">
        <h2 class="blog-text-center blog-title"><span>阅读排行榜</span></h2>
        <div style="text-align: left">
            <th:block th:each="article :${articleList_heat}">
<!--                <a style="font-size: 15px;" th:href="@{'localhost:8080/article/'+${article.id}}"-->
<!--                   th:text="${articleStat.index+1}+'、'+${article.title}+'('+${article.hits}+')'">-->
<!--                </a>-->
                <a style="font-size: 15px;" th:href="@{'http://localhost:8080/article/'+${article.id}}"
                   th:text="${articleStat.index+1}+'、'+${article.title}+'('+${article.hits}+')'">
                </a>
                <hr style="margin-top: 0.6rem;margin-bottom: 0.4rem"/>
            </th:block>
        </div>
    </div>
</div>
</body>
</html>
